FROM node
MAINTAINER Flyrainning "http://www.fengpiao.net"



ADD src /app
ADD bin /bin
RUN chmod a+x /bin/start.sh

WORKDIR /app
RUN npm install

ENV VERSION 1
ENV PATH "/app:$PATH"

EXPOSE 7000 7001 7002 7003
ENTRYPOINT ["/bin/start.sh"]
